package com.weirn.spring.commons.vo;

import com.weirn.spring.commons.annotation.FieldDataType;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by runing.wei on 2018/6/27.
 */
public class ConfigVO implements Serializable{

    @FieldDataType(Integer.class)
    private Integer id;
    @FieldDataType
    private String namespace;
    @FieldDataType
    private String type;
    @FieldDataType
    private String configKey;
    @FieldDataType
    private String valueDataTypeStr;
    @FieldDataType
    private String valueTypeStr;
    @FieldDataType
    private String value;
    @FieldDataType
    private boolean updatable;
    @FieldDataType
    private boolean deletable;
    @FieldDataType(Date.class)
    private Date createDate;
    @FieldDataType(Date.class)
    private Date updateDate;
    @FieldDataType
    private String description;
    @FieldDataType
    private String systemId;
    @FieldDataType
    private int appId;

    public ConfigVO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getConfigKey() {
        return configKey;
    }

    public void setConfigKey(String configKey) {
        this.configKey = configKey;
    }

    public String getValueDataTypeStr() {
        return valueDataTypeStr;
    }

    public void setValueDataTypeStr(String valueDataTypeStr) {
        this.valueDataTypeStr = valueDataTypeStr;
    }

    public String getValueTypeStr() {
        return valueTypeStr;
    }

    public void setValueTypeStr(String valueTypeStr) {
        this.valueTypeStr = valueTypeStr;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isUpdatable() {
        return updatable;
    }

    public void setUpdatable(boolean updatable) {
        this.updatable = updatable;
    }

    public boolean isDeletable() {
        return deletable;
    }

    public void setDeletable(boolean deletable) {
        this.deletable = deletable;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public int getAppId() {
        return appId;
    }

    public void setAppId(int appId) {
        this.appId = appId;
    }
}
